|
 |
Gail Shaw <gsh### [at] monotix co za> wrote:
> Geoff Wedig <wed### [at] darwin epbi cwru edu> wrote in message
> news:3a9cf1d9@news.povray.org...
>> Well, take a look at Door Into Summer. If you want the Snow Texture from
>> that, let me know. It was done with blobs, so you can get some pretty
>> convincing snow (depends on how long you want to play with it.)
> Love your pic, would definatly like to see the texture. Did you say
> you would be posting the code sometime?
*all* the code? Trust me, you don't want it. It's far from clean. Some
bits, like the stuff to make walls and arches I'm planning on posting
somewhere, because I think they'd be generally useful, but most of it I'll
keep unless people ask.
The snow texture, on the other hand, I can do easily (see below)
The first (Snow1) is a not bad attempt at the rolling plains snow, but I
don't actually use it in the pic, finding Snow2 almost as good, and much
better for the piled snow in the foreground. Only real problem is that it's
slightly too shiny when in direct light, but maybe it'll do what you want.
The principle behind it, if you're curious, is that worn snow (ie, been
around for awhile) has largish chunks that're icelike, and other chunks
that're more dullish, thus the two textures. Works pretty well, I think.
These were both made originally by Moray, then exported, but I've had
editted them extensively.
#declare Snow1 =
texture {
pigment { color rgb 1 }
normal { bozo .75 turbulence .5 }
finish {
ambient 0.1
diffuse 0.539567
brilliance 0.977333
phong 0.2446
phong_size 31.786667
specular 0.165467
roughness 0.466133
}
}
#declare Snow2 =
texture
{
bozo
texture_map
{
[0.0
pigment
{
color rgb <1.0, 1.0, 1.0>
}
normal { bozo .75 turbulence .5 }
finish
{
diffuse 0.50
specular 0.064733
roughness 1.0
}
]
[1.0
pigment
{
color rgb <1.0, 1.0, 1.0>
}
normal { bozo .75 turbulence .5 }
finish
{
ambient 0.1
diffuse 0.654667
brilliance 0.26
phong 0.4
phong_size 25.163333
specular 0.2
roughness 1.0
}
]
}
turbulence 2.0
ramp_wave
scale 0.001
}
Post a reply to this message
|
 |